package com.wj.blog.mapper;

import com.wj.blog.pojo.Link;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
public interface LinkMapper {
    void save(Link link);

    void delted(Integer id);

    void update(Link link);

    List<Link> listBack();

    Link getById(Integer id);
}
